package cn.electronic.sale.mapper;

import cn.electronic.sale.pojo.Ordersdetail;
import cn.electronic.sale.pojo.OrdersdetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrdersdetailMapper {
    int countByExample(OrdersdetailExample example);

    int deleteByExample(OrdersdetailExample example);

    int deleteByPrimaryKey(Integer detailId);

    int insert(Ordersdetail record);

    int insertSelective(Ordersdetail record);

    List<Ordersdetail> selectByExample(OrdersdetailExample example);
    
    List<Ordersdetail> selectAll();
    
    Ordersdetail selectByPrimaryKey(Integer detailId);

    int updateByExampleSelective(@Param("record") Ordersdetail record, @Param("example") OrdersdetailExample example);

    int updateByExample(@Param("record") Ordersdetail record, @Param("example") OrdersdetailExample example);

    int updateByPrimaryKeySelective(Ordersdetail record);

    int updateByPrimaryKey(Ordersdetail record);
}